const router = require('express').Router();
const { GetMessageList, SearchMessageList, MessageRead, getHistoryMessages, SendMessage, RecallMessage } = require("../../controller/http/message.js");


router.get("/getmessagelist", GetMessageList)
router.post("/search", SearchMessageList)
router.post("/read", MessageRead)

router.post("/historymessage", getHistoryMessages)
router.post("/fullhistory", getHistoryMessages)
router.post("/sendmessage", SendMessage)
router.post("/recall", RecallMessage)
module.exports = router